home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!usenet
- From: Sensarn <txs53132@bayou.uh.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: Smooth animation in Borland C++ ?
- Date: 21 Feb 1996 01:17:14 GMT
- Organization: AEtna Insurance Agency
- Message-ID: <4gdrqq$l6f@masala.cc.uh.edu>
- References: <4gbkpr$76p@ceylon.gte.com>
- NNTP-Posting-Host: sip-14138.public-dialups.uh.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
-
- Use the vertical retrace sync
-
- while(inp(0x3DA)&8);
- while(!(inp(0x3DA)&8);
-
- before each double buffer to screen transfer. It ensures that the
- electron gun is in the 'start' position. The whole thing takes about
- 1/70 of a second.
-
- --
- |\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\|
- Steven Sensarn -- txs53132@bayou.uh.edu
- |/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
-
-
-